using System;
using System.ComponentModel.DataAnnotations;
using HengTong.Model.Db;
using HengTong.Model.Db.Hr;
using HengTong.Model.Interfaces;
using TiaoTaoHelper.Wtm.Interfaces;
using TiaoTaoHelper.Wtm.Models;
using WalkingTec.Mvvm.Core;

namespace HengTong.Model;

public class BasePersonBill : SysPerson, IBill
{
    // 单据信息
    [Display(Name = "单据编号", Description = "单编号", GroupName = "单据信息")]
    [StringLength(128)]
    public string BillCode { get; set; }

    [Display(Name = "单据状态", Description = "单据状态", GroupName = "单据信息")]
    public BillStatus? BillStatus { get; set; }
    
    [Display(Name = "工作流状态", Description = "工作流状态", GroupName = "单据信息")]
    public WorkflowStatus? WorkflowStatus { get; set; }

    [Display(Name = "备注", Description = "备注", GroupName = "单据信息")]
    [StringLength(512)]
    public string Remark { get; set; }

    [Display(Name = "审批人", Description = "流程审批人", GroupName = "流程信息")]
    [StringLength(64)]
    public string Approver { get; set; }

    [Display(Name = "审批时间", Description = "流程审批时间", GroupName = "流程信息")]
    public DateTime? ApprovalTime { get; set; }
}